package cn.lili.modules.goods.entity.dos;

import cn.lili.mybatis.model.BaseStandardEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 新品爆款商品表
 * </p>
 *
 * @author author
 * @since 2024-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("li_goods_hot_popular")
public class GoodsHotPopular extends BaseStandardEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 店铺ID
     */
    private String storeId;

    /**
     * 店铺名称
     */
    private String storeName;

    /**
     * 原价
     */
    private Double originalPrice;

    /**
     * 结算价格
     */
    private Double settlementPrice;

    /**
     * 缩略图
     */
    private String thumbnail;

    /**
     * 商品编号
     */
    private String goodsId;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 排序
     */
    private Integer sortNum;

    /**
     * 库存
     */
    private Integer quantity;

    /**
     * sku id
     */
    private String goodsSkuId;

    /**
     * 绿色积分
     */
    @TableField(exist = false)
    private Double greenScore;

}
